using System;
//0925
public class TravelPriceCalculator
{
    private const double PEAK_SEASON_PRICE = 200.0;   
    private const double OFF_SEASON_DISCOUNT = 0.8;  
    private const double GROUP_DISCOUNT = 0.9;       
    private const int GROUP_THRESHOLD = 10;
    public bool IsPeakSeason(int year, int month)
    {
        return month >= 4 && month <= 10;
    }
    
    public double CalculateTotalPrice(int year, int month, int personCount)
    {
        double baseUnitPrice = IsPeakSeason(year, month) 
            ? PEAK_SEASON_PRICE 
            : PEAK_SEASON_PRICE * OFF_SEASON_DISCOUNT;
        double totalPrice = personCount >= GROUP_THRESHOLD ? baseUnitPrice * personCount * GROUP_DISCOUNT : baseUnitPrice * personCount;
        return Math.Round(totalPrice, 2); 
    }
}